package com.guli.sms.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Service;

import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.guli.common.utils.Query;

import com.guli.sms.mapper.CouponSpuRelationMapper;
import com.guli.sms.entity.CouponSpuRelationEntity;
import com.guli.sms.service.CouponSpuRelationService;


@Service("couponSpuRelationService")
public class CouponSpuRelationServiceImpl extends ServiceImpl<CouponSpuRelationMapper, CouponSpuRelationEntity> implements CouponSpuRelationService {

    @Override
    public Page<CouponSpuRelationEntity> queryPage(Integer currentPage, Integer size, Map<String, Object> params) {

        Page<CouponSpuRelationEntity> page = new Page<>(currentPage, size);

        return this.page(page);
    }

}